home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / ip / routing / gated / gated-R3_5Alpha_10 / conf / rip.slip.Z / rip.slip
Text File  |  1995-04-19  |  2KB  |  65 lines

  1.  
  2. I use these to configuration files for the slip link to my house.  The
  3. first runs on the server and generates a static route to my network at
  4. home (192.107.121).  The `interface du slip' parameters on the static
  5. route for 192.107.121 require that the static route only exist when
  6. the route to 132.236.200.19 is via an du* or slip* interface.  Since
  7. 132.236.200.19 is within the address range of the local ethernet
  8. (132.236.200/255.255.255) this prevents the route from being generated
  9. when the SLIP link is not up.
  10.  
  11. I keep a little bit of logging around, but limit it to 200k (100k in 2
  12. files).
  13.  
  14. Jeff
  15.  
  16.  
  17. #
  18.  
  19. tracefile "/var/tmp/gated.log" replace size 100k files 2;
  20. traceoptions general route kernel update icmp ;
  21.  
  22. interfaces {
  23.     interface all passive ;
  24. } ;
  25.  
  26. snmp yes ;
  27.  
  28. rip yes {
  29. #    broadcast ;
  30.     interface all version 2 broadcast ;
  31.     interface le1 metricin 2 ;
  32.     trustedgateways 132.236.200.1 132.236.200.200 132.236.199.1 132.236.199.200 132.236.200.19;
  33. } ;
  34.  
  35. static {
  36.     default gateway 132.236.199.1 preference 150 retain ;
  37. #    default gateway 128.253.205.2 retain ;
  38.     192.107.121 gateway 132.236.200.19 interface du slip ;
  39. } ;
  40.  
  41. export proto rip {
  42.     proto static {
  43.         192.107.121 metric 2 ;
  44.     } ;
  45. } ;
  46.  
  47.  
  48. At home I just install a static default route to the SLIP server.  I
  49. take advantage of the fact that static routes will only be installed
  50. to gateways on interfaces that are up to make sure the static default
  51. route gets install to the gateway I'm actually using.  This is
  52. actually not necessary in my case as my SLIP software automatically
  53. installs a defaur me.
  54.  
  55.  
  56. rip no {
  57.     nobroadcast ;
  58.     interface du noripout ;
  59. } ;
  60.  
  61. static {
  62.     default gateway 132.236.200.25 132.236.200.38 preference 100 retain ;
  63. } ;
  64.  
  65.